#include <iostream>


using namespace std;

int main()
{
    int n=0;
    int b=1;
    cin >> n;
    while (n!=2)
    {
        n=n/2;
        b++;
    }



    cout << b << endl;
    return 0;
}
